#ifndef SETTINGDIALOG_H
#define SETTINGDIALOG_H

#include <QDialog>

class QLabel;
class QCheckBox;
class QPushButton;
class QLineEdit;
class SettingDialog : public QDialog
{
    Q_OBJECT
public:
    explicit SettingDialog(QWidget *parent = 0);
    
signals:
    
public slots:
    
private:
    QLabel *emailLabel;
    QLabel *passwordLabel;
    QLabel *ownerEmailLabel;
    QLabel *pop3AddressLabel;
    QLabel *smtpAddressLabel;

    QLineEdit *emailEdit;
    QLineEdit *passswordEdit;
    QLineEdit *pop3AddressEdit;
    QLineEdit *smtpAddressEdit;
    QLineEdit *ownerEmailEdit;

    QCheckBox *listenMailBox;
    QPushButton *okButton;
    QPushButton *cancelButton;

    void createWidgets();
    void createLayout();
    void createConnections();
};

#endif // SETTINGDIALOG_H
